package org.flower.mapper;

import java.util.List;
import org.apache.ibatis.annotations.Param;
import org.flower.bean.CommodityDetails;
import org.flower.bean.CommodityDetailsExample;

public interface CommodityDetailsMapper {

    List<CommodityDetails> findByDiy(@Param("classId") int classId);


    int countByExample(CommodityDetailsExample example);

    int deleteByExample(CommodityDetailsExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(CommodityDetails record);

    int insertSelective(CommodityDetails record);

    List<CommodityDetails> selectByExample(CommodityDetailsExample example);

    CommodityDetails selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") CommodityDetails record, @Param("example") CommodityDetailsExample example);

    int updateByExample(@Param("record") CommodityDetails record, @Param("example") CommodityDetailsExample example);

    int updateByPrimaryKeySelective(CommodityDetails record);

    int updateByPrimaryKey(CommodityDetails record);
}